/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-03-20 16:40:08
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

export default {
    formObj: [{
        input: true, //是input
        label: "施工标段", //字段
        prop: "fCompanyname", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    }, {
        input: true, //是input
        label: "拌和站", //字段
        prop: "fStationname", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    }, {
        input: true, //是input
        label: "拌和机", //字段
        prop: "fMachinename", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    }, {
        input: true, //是input
        label: "工程部位", //字段
        prop: "fEngineeringpart", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "实际产能(t/h)", //字段
        prop: "fActualcapacity", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    //  {
    //     input: true, //是input
    //     label: "施工部位", //字段
    //     prop: "fBuildpart", //字段名
    //     width: 12, //参考el-col
    //     disabled: true, //是否禁用
    // },
     {
        input: true, //是input
        label: "实际产量(t)", //字段
        prop: "fActualyield", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    }, {
        input: true, //是input
        label: "开始时间", //字段
        prop: "fStartdates", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用

    }, {
        input: true, //是input
        label: "结束时间", //字段
        prop: "fEnddates", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    }],

    sgbwList: [{
        fItemName: "工程部位",
        fItemValue: "",
    },
    {
        fItemName: "基层",
        fItemValue: "基层",
    },
    {
        fItemName: "底基层",
        fItemValue: "底基层",
    },
    {
        fItemName: "垫层",
        fItemValue: "垫层",
    },
    {
        fItemName: "其他",
        fItemValue: "其他",
    },
    {
        fItemName: "下基层",
        fItemValue: "下基层",
    },
    ], //顶部下拉框---施工部位

    table_config: {
        // 列表配置项
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
            label: "标段名称",
            prop: "fCompanyname",
            minWidth: "100px",
            align: "left",
        },
        {
            label: "工程部位",
            prop: "fEngineeringpart",
            minWidth: "110px",
            align: "left",
        },
        // {
        //     label: "施工部位",
        //     prop: "fBuildpart",
        //     minWidth: "110px",
        //     align: "left",
        // },
        {
            label: "实际产能(t/h)",
            prop: "fActualcapacity",
            minWidth: "90px",
            align: "center",
        },
        {
            label: "实际产量(t)",
            prop: "fActualyield",
            minWidth: "90px",
            align: "center",
        },
        {
            label: '预警级别',
            prop: 'fWarninglevel',
            minWidth: '100px',
            filter: true,
            btn: true,
            align: "center",
            colorName: '',
        },
       
        {
            label: "开始时间",
            prop: "fStartdates",
            minWidth: "120px",
            align: "center",
        },
        {
            label: "结束时间",
            prop: "fEnddates",
            minWidth: "120px",
            align: "center",
        },
        {
            label: "上传时间",
            prop: "fCreatedates",
            minWidth: "120px",
            align: "center",
        },
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: "操作",
            width: "100",
            detail: true,
            cols: [],
        },
    },
    cbtable_config: {
        // 列表配置项
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: "",
        thead: [{
            label: "标段名称",
            prop: "fCompanyname",
            minWidth: "100px",
            align: "left",
        },
        {
            label: "工程部位",
            prop: "fEngineeringpart",
            minWidth: "110px",
            align: "left",
        },
        // {
        //     label: "施工部位",
        //     prop: "fBuildpart",
        //     minWidth: "110px",
        //     align: "left",
        // },
        {
            label: "实际产能(t/h)",
            prop: "fActualcapacity",
            minWidth: "90px",
            align: "center",
        },
        {
            label: "实际产量(t)",
            prop: "fActualyield",
            minWidth: "90px",
            align: "center",
        },
        {
            label: '预警级别',
            prop: 'fWarninglevel',
            minWidth: '100px',
            filter: true,
            btn: true,
            align: "center",
            colorName: '',
        },

        {
            label: "开始时间",
            prop: "fStartdates",
            minWidth: "120px",
            align: "center",
        },
        {
            label: "结束时间",
            prop: "fEnddates",
            minWidth: "120px",
            align: "center",
        },
        {
            label: '闭合状态',
            prop: 'fClosestatus',
            minWidth: '80px',
            align: "center"
        },
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '闭合操作',
            width: '100',
            detail: true,
            prop: true,
            cols: [],

        },
    },

    djDataList: [{
        fItemName: "预警级别",
        fItemValue: ""
    }, {
        fItemName: "正常",
        fItemValue: "0"
    }, {
        fItemName: "初级",
        fItemValue: "1"
    }, {
        fItemName: "中级",
        fItemValue: "2"
    }, {
        fItemName: "高级",
        fItemValue: "3"
    }],

    CloseoperationDataList: [{
        fItemName: "闭合状态",
        fItemValue: ""
    }, {
        fItemName: "未闭合",
        fItemValue: "未闭合"
    }, {
        fItemName: "已闭合",
        fItemValue: "已闭合"
    }],
    material_config: {
        //材料配置项
        classCell: true,
        thead: [
            {
                label: "",
                prop: "name",
                minWidth: "90px",
                align: "center",
            },
            {
                label: "水泥1",
                prop: "cement1",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "水泥2",
                prop: "cement2",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "骨料1",
                prop: "aggregate1",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "骨料2",
                prop: "aggregate2",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "骨料3",
                prop: "aggregate3",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "骨料4",
                prop: "aggregate4",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "骨料5",
                prop: "aggregate5",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "骨料6",
                prop: "aggregate6",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "水",
                prop: "water",
                minWidth: "60px",
                align: "center",
            },
        ],
    }, //材料配置项
    // m³
    handleObj: [{
        input: true, //是input
        label: "预警内容", //字段
        prop: "fWarningcontent", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "问题原因", //字段
        prop: "fReason", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处理方式", //字段
        prop: "fHandleway", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处置结果", //字段
        prop: "fHandleresult", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    }, {
        input: true, //是input
        label: "处理日期", //字段
        prop: "fHandledates", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fHandleusername", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        label: "附件", //字段
        prop: "fHandlefile", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
        upload: true,
        uploadSelect: false,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    }

    ],
    handleObjs: [{
        input: true, //是input
        label: "预警内容", //字段
        prop: "fWarningcontent", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "问题原因", //字段
        prop: "fReason", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            tigger: ['blur', 'change'],
            message: '问题原因不能为空'
        }]
    },
    {
        input: true, //是input
        // select: true, //是input
        label: "处理方式", //字段
        prop: "fHandleway", //字段名
        // placeholder: "请选择",
        width: 24, //参考el-col
        disabled: false, //是否禁用
        // options: [],
        rules: [{
            required: true,
            message: '请选择处理方式'
        }] //验证
    },
    {
        selects: true, //是input
        label: "处置结果", //字段
        prop: "fHandleresult", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        options: [{
            value: '留用',
            label: '留用'
        }, {
            value: '废弃',
            label: '废弃'
        }, {
            value: '降级',
            label: '降级'
        }, {
            value: '其他',
            label: '其他'
        }],
        rules: [{
            required: true,
            message: '请选择处置结果'
        }] //验证
    }, {
        datePicker: true, //是input
        label: "处理日期", //字段
        prop: "fHandledates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择处理日期'
        }] //验证
    },
    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fHandleusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理人不能为空'
        }] //验证
    },

    {

        label: "附件", //字段
        prop: "fHandlefile", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },
    ],
    handleObjs1: [{
        input: true, //是input
        label: "预警内容", //字段
        prop: "fWarningcontent", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "问题原因", //字段
        prop: "fReason", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '问题原因不能为空'
        }]
    },
    {
        input: true, //是input
        // select: true, //是input
        label: "处理方式", //字段
        prop: "fHandleway", //字段名
        // placeholder: "请选择",
        width: 24, //参考el-col
        disabled: false, //是否禁用
        // options: [],
        rules: [{
            required: true,
            message: '请选择处理方式'
        }] //验证
    },
    {
        selects: true, //是input
        label: "处置结果", //字段
        prop: "fHandleresult", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        options: [{
            value: '留用',
            label: '留用'
        }, {
            value: '废弃',
            label: '废弃'
        }, {
            value: '降级',
            label: '降级'
        }, {
            value: '其他',
            label: '其他'
        }],
        rules: [{
            required: true,
            message: '请选择处置结果'
        }] //验证
    }, {
        datePicker: true, //是input
        label: "处理日期", //字段
        prop: "fHandledates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择处理日期'
        }] //验证
    },
    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fHandleusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理人不能为空'
        }] //验证
    },

    {

        label: "附件", //字段
        prop: "fHandlefile", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },
    ],

    processObj: [{
        input: true, //是input
        label: "处理结果", //字段
        prop: "fFirstcheckresult", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fFirstcheckusername", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处理日期", //字段
        prop: "fFirstcheckdates", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处理意见", //字段
        prop: "fFirstcheckopinion", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },

    ],
    processObjs: [{
        selects: true, //是input
        label: "处理结果", //字段
        prop: "fFirstcheckresult", //字段名
        options: [{
            value: '同意',
            label: '同意'
        }, {
            value: '不同意',
            label: '不同意'
        }],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理结果不能为空'
        }] //验证
    },

    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fFirstcheckusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "处理日期", //字段
        prop: "fFirstcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择处理日期'
        }] //验证
    }, {
        input: true, //是input
        label: "处理意见", //字段
        prop: "fFirstcheckopinion", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用

    },

    ],
    processObjs1: [{
        selects: true, //是input
        label: "处理结果", //字段
        prop: "fFirstcheckresult", //字段名
        options: [{
            value: '同意',
            label: '同意'
        }, {
            value: '不同意',
            label: '不同意'
        }],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理结果不能为空'
        }] //验证
    },

    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fFirstcheckusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "处理日期", //字段
        prop: "fFirstcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择处理日期'
        }] //验证
    }, {
        input: true, //是input
        label: "处理意见", //字段
        prop: "fFirstcheckopinion", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用

    },

    ],

    examineObj: [{
        input: true, //是input
        label: "处理结果", //字段
        prop: "fSecondcheckresult", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fSecondcheckusername", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处理日期", //字段
        prop: "fSecondcheckdates", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "处理意见", //字段
        prop: "fSecondcheckopinion", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用
    },

    ],
    examineObjs: [{
        selects: true, //是input
        label: "处理结果", //字段
        prop: "fSecondcheckresult", //字段名
        options: [{
            value: '同意',
            label: '同意'
        }, {
            value: '不同意',
            label: '不同意'
        }],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理结果不能为空'
        }] //验证
    },

    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fSecondcheckusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "处理日期", //字段
        prop: "fSecondcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择处理日期'
        }] //验证
    }, {
        input: true, //是input
        label: "处理意见", //字段
        prop: "fSecondcheckopinion", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用

    },

    ],
    examineObjs1: [{
        selects: true, //是input
        label: "处理结果", //字段
        prop: "fSecondcheckresult", //字段名
        options: [{
            value: '同意',
            label: '同意'
        }, {
            value: '不同意',
            label: '不同意'
        }],
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理结果不能为空'
        }] //验证
    },

    {
        input: true, //是input
        label: "处理人", //字段
        prop: "fSecondcheckusername", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '处理人不能为空'
        }] //验证
    },
    {
        datePicker: true, //是input
        label: "处理日期", //字段
        prop: "fSecondcheckdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择处理日期'
        }] //验证
    }, {
        input: true, //是input
        label: "处理意见", //字段
        prop: "fSecondcheckopinion", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用

    },

    ],
    yjDataList: [{
        fItemName: "预警级别",
        fItemValue: ""
    }, {
        fItemName: "正常",
        fItemValue: "0"
    }, {
        fItemName: "初级",
        fItemValue: "1"
    }, {
        fItemName: "中级",
        fItemValue: "2"
    }, {
        fItemName: "高级",
        fItemValue: "3"
    }],
}